﻿using ERPU8WebApi.Until;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;


namespace ERPU8WebApi.Models.Sys
{
    //人员
    public class PersonModel
    {
        //人员编码
        public string cPersonCode;
        //人员名称
        public string cPersonName;
        //部门编码
        public string cDepCode;
        //部门名称
        public string cDepName;
    }
    public class PersonController
    {
        public PersonModel GetModel(DataRow dr)
        {
            PersonModel s = new PersonModel();
            s = SerializeLibrary.D2E<PersonModel>(dr);
            return s;
        }
    }
}